<template>
  <el-form-item :label="i18nt('designer.setting.defaultValue')">
    <el-switch
      v-model="optionModel.defaultValue"
      active-text="true"
      inactive-text="false"
    />
  </el-form-item>
</template>

<script>
import i18n from "Yan/utils/i18n";
import propertyMixin from "../propertyMixin";

export default {
  name: "switch-defaultValue-editor",
  mixins: [i18n, propertyMixin],
  props: {
    designer: Object,
    optionModel: Object,
  },
};
</script>

<style scoped>
</style>
